package com.lzw.security.mapper;

import com.lzw.security.entity.Accessory;
import com.lzw.security.entity.AccessoryDosing;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020-3-31 20:54
 * @description：
 * @modified By：
 * @version:
 */
@Service
public interface AccessoryMapper {
    Integer addAccessory(Accessory accessory);
    Integer addAccessoryDosing(AccessoryDosing accessoryDosing);
    Integer deleteAccessory(int id);
    Accessory getAccessoryDosing(int id);
    List<Accessory> getAccessoryAll();
    Integer deleteAccessoryDosingAll(int id);
    Integer updateAccessory(Accessory accessory);
    Integer deleteAccessoryDosing(AccessoryDosing accessoryDosing);
}
